#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <string>
#include <vector>
#include <unistd.h>

using namespace std;

class A{
public:
    virtual void fa(){
        cout<<"A fa"<<endl;
    }
    int a=7;
};
class B{
public:
    virtual void fb(){
        cout<<"B fb"<<endl;
    }
    int b=8;
};
class C{
public:
    virtual void fc(){
        cout<<"C fc"<<endl;
    }
    int c=9;
};
class D:public A,public B,public C{
public:
    virtual void fd(){
        cout<<"D fd"<<endl;
    }
    int d=10;
};
class E :public D{
    virtual void fe(){
        cout<<"E fe"<<endl;
    }
};
int main()
{
    char *pc = new char[4];
    int *p = (int*)pc;
    delete [] p;
    return 0;
}

